﻿//===============================================================================
// Microsoft patterns & practices Enterprise Library Contribution
// Logging Application Block
//===============================================================================

using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Practices.EnterpriseLibrary.Common.Configuration;
using Microsoft.Practices.EnterpriseLibrary.Configuration.Design;
using EntLibContrib.Logging.Configuration.Design.Formatters;
using EntLibContrib.Logging.Configuration;
using EntLibContrib.Logging.Properties;

namespace EntLibContrib.Logging.Configuration.Design
{
	sealed class LoggingNodeMapRegistrar : NodeMapRegistrar
	{	
		public LoggingNodeMapRegistrar(IServiceProvider serviceProvider)
			: base(serviceProvider)
		{
		}
		
		public override void Register()
		{
			AddMultipleNodeMap(InternalResources.TemplateTextFormatterNode,
				typeof(TemplateTextFormatterNode),
				typeof(TemplateTextFormatterData));
		}        
	}
}
